﻿using System;
using Microsoft.Xna.Framework;

using RaptorEngine.Particles;

namespace OilRigSumoWrestlers.Particles
{
	class OilTower : ParticleSystem
	{
		protected override void InitializeSettings(ParticleSettings settings)
		{
			settings.TextureName = "oildrop";

			settings.MaxParticles = 10000;

			settings.Duration = TimeSpan.FromSeconds(4f);

			settings.MinHorizontalVelocity = 0;
			settings.MaxHorizontalVelocity = 3;

			settings.MinVerticalVelocity = 7;
			settings.MaxVerticalVelocity = 10;

			settings.MinColor = Color.Black;
			settings.MaxColor = Color.Purple;

			settings.Gravity = new Vector3(0, -40, 0);

			settings.EndVelocity = 0.1f;

			settings.MinRotateSpeed = -1;
			settings.MaxRotateSpeed = 1;

			settings.MinStartSize = 0.10f;
			settings.MaxStartSize = 0.20f;

			settings.MinEndSize = 0.2f;
			settings.MaxEndSize = 0.5f;
		}
	}
}
